package com.meilai.project.mapper.business.contract;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.meilai.project.entity.business.contract.MediaTypeProxy;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 代理媒体类型 Mapper 接口
 * </p>
 *
 * @author xchen
 * @since 2022-04-13
 */
@Mapper
public interface MediaTypeProxyMapper extends BaseMapper<MediaTypeProxy> {

	void batchSaveItemsIfNotExist(@Param("list") List<String> nameList);

	List<MediaTypeProxy> listByNames(@Param("list") List<String> nameList);

}
